//
//  Header.h
//  qeegooChat
//
//  Created by heew on 16/1/7.
//  Copyright © 2016年 com.autozi. All rights reserved.
//

#ifndef Header_h
#define Header_h

#define BUTTONMarginX    10
#define BUTTONMarginUP   0
#define NAVBUTTON_WIDTH  44
#define NAVBUTTON_HEIGHT 44
#define SCREEN_WIDTH    [[UIScreen mainScreen] bounds].size.width
#define SCREEN_HEIGHT   [[UIScreen mainScreen] bounds].size.height
#define NAVIGATION_BAR_HEIGHT self.navigationController.navigationBar.frame.size.height


#define detailBigTitleFont [UIFont systemFontOfSize:16]

#define QGRGBColor(redValue,greenValue,blueValue) [UIColor colorWithRed:redValue/255.0 green:greenValue/255.0 blue:blueValue/255.0 alpha:1.0]
#define QGMainThemeColor [UIColor colorWithHexString:@"0x25bc7d"]
#define QGMainBackgroundColor [UIColor colorWithHexString:@"0xf4f4f4"]
#define QGListTitleAndDetailTextColor [UIColor colorWithHexString:@"0x8e8e8e"]
#define QGMainSeprateLineColor [UIColor colorWithHexString:@"0xe5e5e5"]
#define QGListTitleAndDetailTextFont [UIFont systemFontOfSize:14]
#define QGScreenScale [UIScreen mainScreen].scale
#define QGSystemIsOver7 [[UIDevice currentDevice].systemVersion floatValue] >= 7

#define QGAppCachePath(fileName) [[NSSearchPathForDirectoriesInDomains(NSCachesDirectory, NSUserDomainMask, YES) firstObject] stringByAppendingPathComponent:fileName]
#define GJCFStringIsNull(string) [QGUitility stringIsNull:string]
#define GJCFFileIsExist(pathObj) [QGUitility fileExist:pathObj]
#define GJCFQuickImageByFilePath(filePath) [UIImage imageWithContentsOfFile:filePath]


#define QGWeakObject(anObject)  __weak __typeof(anObject)
#define QGNotificationCenter [NSNotificationCenter defaultCenter]
#endif /* Header_h */
